package com.chenyuxin.ilp.model.enums.db.file;

import lombok.Getter;

@Getter
public enum PublicPermission {
    PRIVATE(0, "不公开"),
    PUBLIC_PREVIEW(1, "公开可预览"),
    PUBLIC_DOWNLOAD(2, "公开可下载");

    private final int code;
    private final String description;

    PublicPermission(int code, String description) {
        this.code = code;
        this.description = description;
    }
}